<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="./boxing-v0.1-trident-1280.css"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?=$language?>">
<head>
<title><?=$sitename?>, editie <?=$dbe['edition']?>. Powered by Enlightener v<?=$softversion?></title>
<link rel="stylesheet" type="text/css" href="./boxing-v0.1-trident-1280.css">
</head>

<body>

<div id="top">
<?php
if (stristr($_SERVER["HTTP_ACCEPT"], "image/svg+xml")){
echo "<object id=\"button1\" data=\"../images/home-button3.svg\" type=\"image/svg+xml\">Ga naar hoofdpagina.</object>";
}
else {
echo "<img id=\"button1\" src=\"../images/home-button3.gif\" alt=\"Ga naar hoofdpagina.\" />";
}
?>
</div>

<div id="topright">
<?php
if ($_SESSION['login']===!"true") {
echo "<form action=\"post\" onSubmit=\"login()\">
Gebruikersnaam:<br />
<input type=\"text\" name=\"username\" size=15 /><br />
Wachtwoord:<br />
<input type=\"text\" name=\"password\" size=15 />
<input type=\"submit\" name=\"submit\" value=\"Inloggen\" />
</form>";
}
else {
echo "Je bent ingelogd, $_SESSION[username]!<br />";
}
?>
</div>

<div id="right">bla3</div> //Ads by Goooooooooooooooooooogle!

<div id="bottomright">
Enlightener v0.2 ALPHA<br />
Software, GNU General Public License v2.
<br /><br />
Graphics, Copyrighted 2006 <?=$owner?>.<br />
Content, Creative Commons 2006 <?=$owner?>.<br />
</div>

<div id="storyextended"><h1 class="header"><?=$db[3]['title']?></h1>
<div class="story">
<?=$db['story']?><br />
<?=$db['extstory']?>
</div>
<div class="storyfooter">Geplaats op <?=$db[3]['date']?> <?=$db[3]['time']?> uur, door: <?=$db[3]['author']?>.</div>
</div>

<div id="comments">
<a href="./addcomment.php" alt="Reageer" onclick='window.open(this.href, "addcomment", "status=0, toolbar=0, location=0, menubar=0, height=350, width=400");return false'>Reageer!</a><br /><br />
<div class="comment"><h4 class="commentheader">Blatend de wereld door!</h4>BLAAAAAAAAAAAT! Nummer1<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! Nummer2<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! Nummer3<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! Nummer4<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! NummerX<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! NummerX<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! NummerX<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! NummerX<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! NummerX<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! NummerX<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! NummerX<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! NummerX<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! NummerX<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! NummerX<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! NummerX<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! NummerX<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! NummerX<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! NummerX<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! NummerX<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! NummerX<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! NummerX<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! NummerX<div class="commentoptions"></div></div><br />
<div class="comment">BLAAAAAAAAAAAT! NummerX<div class="commentoptions"></div></div><br />
</div>

<div id="poll"><h4 class="blueheader4"><?=$dbp['title']?></h4>
<form action="post">
<?php
foreach (array_slice($dbp, -6) as $opt){
if (!isempty($opt)){
echo "<input type=\"radio\" name=\"option\" value=\"$opt\" onfocus=\"pollsubmit()\"> $opt<br />";
}
}
?>

</form>
</div>

<div id="column"><h4 class="blueheader4"><?=$dbc['title']?></h4>
<div class="story">
<?=$dbc['story']?>
</div>
<div class="storyfooter"><?=$dbc['date']?> <?=$dbc['time']?>, door <?=$dbc['author']?>.</div>
</div>

</body>
</html>